import request from "@/utils/request";

enum API {
    SYSCACHE_URL = "/itp/api/redis/cache",
} 
export default{
    addSysCache:(param:any)=>request.post(`${API.SYSCACHE_URL}/insert`,param),//新增缓存
    getSysCacheList:(key:any)=>request.get(`${API.SYSCACHE_URL}/findlist?key=${key}`),//查询
    delSysCache:(key:string) => request.get(`${API.SYSCACHE_URL}/clean?key=${key}`),//清楚缓存
}